package com.panshi.qa.provider.modules.domain;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="QaQuesitonRelevance多表映射对象", description="")
public class QaQuesitonRelevance implements Serializable {

    @ApiModelProperty(value="问题口腔类型名称")
    private String name;

    @ApiModelProperty(value = "问答问题表ID")
    private Long id;

    @ApiModelProperty(value = "问答作者ID")
    private Long userId;

    @ApiModelProperty(value = "问答作者姓名")
    private String nickname;

    @ApiModelProperty(value = "问答作者头像")
    private String userPhotoPath;

    @ApiModelProperty(value = "问题类型ID")
    private Long typeId;

    @ApiModelProperty(value = "问题标题")
    private String question;

    @ApiModelProperty(value = "问题背景(内容)")
    private String content;

    @ApiModelProperty(value = "图片地址")
    private String photoPath;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "发布时间")

    private Date publishTime;

    @ApiModelProperty(value = "回答数")
    private Integer answerNum;

    @ApiModelProperty(value = "阅读数")
    private Integer readNum;

    @ApiModelProperty(value = "收藏数")
    private Integer collectNum;

    @ApiModelProperty(value = "回答表ID")
    private Long answerId;

    @ApiModelProperty(value = "回答简介")
    private String introduce;

    @ApiModelProperty(value = "回答作者ID")
    private Long answerUserId;

    @ApiModelProperty(value = "回答作者姓名")
    private String answerNickname;

    @ApiModelProperty(value = "回答作者头像")
    private String answerUserPhotoPath;

}
